<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 200px; height: 200px;
            background-color: blue;
            /*背景图片*/
            background-image: url("../day01/1.jpeg");
            /*图片大小*/
            background-size: 200px 200px;
            /*禁止重复*/
            background-repeat: no-repeat;
            background-position: 50px 0;
        }

    </style>
</head>
<body>
<div></div>
<h1 style="color: red">颜色测试1</h1>
<h1 style="color:#ff0000 ">颜色测试2</h1>
<h1 style="color:#f00">颜色测试3</h1>
<h1 style="color:rgb(255,0,0) ">颜色测试4</h1>
<h1 style="color:rgba(255,0,0,0.5) ">颜色测试5</h1>



</body>
</html>